if $programname == 'docker-current' then {
   action(type="omfile" file="/var/log/docker/docker.log")
}